//
//  SpotCalenderViewController.m
//  DigiOps
//
//  Created by app on 2018/7/26.
//  Copyright © 2018年 俞渊华. All rights reserved.
//

#import "SpotCalenderViewController.h"
#import "CalenderView.h"
@interface SpotCalenderViewController ()

@end

@implementation SpotCalenderViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    CGRect f=CGRectMake(self.view.frame.origin.x, self.view.frame.origin.y+64, SCREEN_WIDTH, SCREEN_HEIGHT-64);
    CalenderView *view = [[CalenderView alloc] initWithFrame:self.view.frame startDay:@"2018-1-10" endDay:@"2019-1-10"];
    view.delegate = self;
    view.yearMonthFormat = @"%zd年%02zd月";
    view.actvityColor = YES;
    view.showWeekBottomLine = YES;
    [self.view addSubview:view];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
